package com.zdlee.netty.server15.session;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-12-01 11:06
 */
@Data
@NoArgsConstructor
public class Session {

    private String userId;

    private String userName;

    public Session(String userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    @Override
    public String toString() {
        return userId + ":" + userName;
    }

}
